Xbasic

Office::ExcelDocumentDeleteSheet Method

Syntax

.DeleteSheet as L (Index as N)

Arguments

IndexNumeric

 

Returns

resultLogical

Returns .T. if operation succeeds, otherwise .F.. The Office::ExcelDocument CallResult object will contain additional information if the operation fails.

Description

Delete the sheet at the index specified from the Excel document.

Example

dim Doc as Office::ExcelDocument

See Also